<?php	include("head.php");	include_once("paging_function.php");?>
<?php
/////////////////////////////////PAGING /////////////////
if($_GET['parameng'])
{
$parameng='parameng='.$_GET['parameng'];
}
elseif(!isset($_GET['parameng']))
{
$parameng='parameng=eng';
}


if($_GET['paramjap'])
{
$paramjap='paramjap='.$_GET['paramjap'];
}
elseif(!isset($_GET['paramjap']))
{
$paramjap='paramjap=jap';
}


if(isset($_GET['parameng']) && $_GET['parameng']="eng")
{
 	if(isset($_GET['page']) && $_GET['page']!='')
		{
		
			$pageeng = $_GET['page'];
		}
	else
		{
			$pageeng = 0;
		}
	if(isset($_GET['loop']) && $_GET['loop']!='')
	{
		$loopeng=$_GET['loop'];
	}	
	else
	{
		$loopeng='';
	}
	if(isset($_GET['start']) && $_GET['start']!='')
	{
		$starteng=$_GET['start'];
	}	
	else
	{
		$starteng='';
	}

}elseif(isset($_GET['pageeng']) && $_GET['pageeng'] !=""){ 	$pageeng = $_GET['pageeng'];	$loopeng=$_GET['loopeng'];	$starteng=$_GET['starteng'];	//$paramjap.="&pageeng=".$pageeng;
}
else
{
	$pageeng = 0;
	$loopeng='';
	$starteng='';	//$paramjap.="&pageeng=".$pageeng;
}$parameng1="&pageeng=".$pageeng;if($loopeng == ''){	$parameng1.="&loopeng=''";}else{	$parameng1.="&loopeng=".$loopeng;}if($starteng == ''){	$parameng1.="&starteng=''";}else{	$parameng1.="&starteng=".$starteng;	}
if(isset($_GET['paramjap']) && $_GET['paramjap']="jap")
{
	if(isset($_GET['page']) && $_GET['page']!='')
		{
		
			$pagejap = $_GET['page'];
		}
	else
		{
			$pagejap = 0;
		}
	if(isset($_GET['loop']) && $_GET['loop']!='')
	{
		$loopjap=$_GET['loop'];
	}	
	else
	{
		$loopjap='';
	}
	if(isset($_GET['start']) && $_GET['start']!='')
	{
		$startjap=$_GET['start'];
	}	
	else
	{
		$startjap='';
	}
}elseif(isset($_GET['pagejap']) && $_GET['pagejap'] !=""){	$pagejap = $_GET['pagejap'];	$startjap=$_GET['startjap'];	$loopjap=$_GET['loopjap'];	//$parameng.="&pagejap=".$pagejap;
}
else
{
	$pagejap = 0;
	$loopjap='';
	$startjap='';	//$parameng.="&pagejap=".$pagejap;
}$paramjap1="&pagejap=".$pagejap;if($loopjap == ''){	$paramjap1.="&loopjap=''";}else{	$paramjap1.="&loopjap=".$loopjap;}if($startjap == ''){	$paramjap1.="&startjap=''";}else{	$paramjap1.="&startjap=".$startjap;	}/////////////////////////////////////// FOR SEARCH //////////////////////////////$searchString='';if($_REQUEST['cscheng'] != ''){	$searchString.='&cscheng='.$_REQUEST['cscheng'];}if($_REQUEST['cschjap'] != ''){	$searchString.='&cschjap='.$_REQUEST['cschjap'];}//$paramjap1.="&pagejap='".$pagejap."'&loopjap='".$loopjap."'&startjap='".$startjap."'";
//echo $parameng.'<br><br>'.$paramjap.'<br><br>';
$limit=$adminpagelimit;
/////////////////////////////////////////////////////////////////	
?>
<?php
////////////////////////////////////////////    Block_---- DELETE  ///////////
if(isset($_POST['Submit']))
{
	$del=$_POST['del'];
	$no=count($del);
	if($no>0)
	{
	for($i=0;$i<$no;$i++)
	{
	   mysql_query("DELETE FROM ".CATEGORIES."  WHERE adcategoryId= '".$del[$i]."' ");	   
	}
	echo '<script>window.location="category_mgt.php?dlt=1"</script>';
	}
	$block=$_POST['count_UPDATE'];
	if($_POST['count_UPDATE']>0)
	{
	for($no_up=0; $no_up<$block;$no_up++)
	{
	if(isset($_POST['block'.$no_up]))
	{
	 mysql_query("UPDATE ".CATEGORIES."  set status='N' WHERE adcategoryId='".$_POST['block'.$no_up]."'");
//echo "UPDATE ".CATEGORIES."  set status='N' WHERE adcategoryId='".$_POST['block'.$no_up]."'";
	}else{
	 mysql_query("UPDATE ".CATEGORIES."  set status='Y' WHERE adcategoryId='".$_POST['block_hid'.$no_up]."'");
//echo "UPDATE ".CATEGORIES."  set status='Y' WHERE adcategoryId='".$_POST['block_hid'.$no_up]."'";
	}
	}
	echo '<script>window.location="category_mgt.php?page='.$_GET['page'].'&loop='.$_GET['loop'].'&start='.$_GET['start'].'&blk=1"</script>';
	}
}

?>
<?php
////////////////////////////////////////////    Block_---- DELETE  ///////////
if(isset($_POST['Subjap']))
{
	$del_jap=$_POST['del_jap'];


//echo $_POST['Subjap'].'*****';
	$no=count($del_jap);
	if($no>0)
	{
	for($i=0;$i<$no;$i++)
	{
	   mysql_query("DELETE FROM ".CATEGORIES."  WHERE adcategoryId= '".$del_jap[$i]."' ");
//echo "DELETE FROM ".CATEGORIES."  WHERE adcategoryId= '".$del_jap[$i]."' ";
	}
	/*echo '<script>window.location="category_mgt.php?dlt=1"</script>';*/
	}
	$block_jap=$_POST['count_UPDATE_jap'];
	if($_POST['count_UPDATE_jap']>0)
	{
	for($no_up=0; $no_up<$block_jap;$no_up++)
	{
	if(isset($_POST['block_jap'.$no_up]))
	{
	 mysql_query("UPDATE ".CATEGORIES."  set status='N' WHERE adcategoryId='".$_POST['block_jap'.$no_up]."'");
//echo "UPDATE ".CATEGORIES."  set status='N' WHERE adcategoryId='".$_POST['block_jap'.$no_up]."'";
	}else{
	 mysql_query("UPDATE ".CATEGORIES."  set status='Y' WHERE adcategoryId='".$_POST['block_hid_jap'.$no_up]."'");
//echo "UPDATE ".CATEGORIES."  set status='Y' WHERE adcategoryId='".$_POST['block_hid_jap'.$no_up]."'";
	}
	}
	echo '<script>window.location="category_mgt.php?page='.$_GET['page_jap'].'&loop='.$_GET['loop'].'&start='.$_GET['start'].'&blk=1"</script>';
	}
}

?>
<?php 
//////////////////////////////////////// insert edit query====================//////////
if(isset($_REQUEST['submit1']))
{
if($_REQUEST['action']=='create')
{
	
	if($_POST['engname']!='')
		{
		$insert_sql_eng="INSERT INTO `".CATEGORIES."` SET `status`='".$_POST['status']."',`categoryName` = '".$_POST['engname']."',langId='1' ";

		$insert_query_eng=mysql_query($insert_sql_eng);

		}
	if($_POST['japname']!='')
		{
		$insert_sql_jap.="INSERT INTO `".CATEGORIES."` SET `status`='".$_POST['status']."',`categoryName` = '".$_POST['japname']."',langId='2' ";

		$insert_query_jap=mysql_query($insert_sql_jap);

		}



echo '<script> window.location="category_mgt.php?inst=1"</script>';
}
if($_REQUEST['action']=='edit')
{
$UPDATE=mysql_query("UPDATE `".CATEGORIES."` SET `categoryName` = '".$_POST['name']."',`status`='".$_POST['status']."' WHERE `adcategoryId` ='".$_REQUEST['adcategoryId']."'") ;

echo '<script> window.location="category_mgt.php?updt=1"</script>';
}
if($_REQUEST['action']=='edit_jap')
{
$UPDATE=mysql_query("UPDATE `".CATEGORIES."` SET `categoryName` = '".$_POST['japname']."',langId='2',`status`='".$_POST['status']."' WHERE `adcategoryId` ='".$_REQUEST['adcategoryId']."'") ;

echo '<script> window.location="category_mgt.php?updt=1"</script>';
}
}
////////////////////////////////end////////////////////////////////////////////////////////
?>

<?php

/////////////////////================for japanees========================================
	
?>
<!--<fieldset>
<legend class="LEGEND">CATEGORY  MANAGEMENT</legend>--> <table width="100%" border="0" cellspacing="0" cellpadding="3"  style="border:1px solid #666666"> <tr><td>&nbsp;</td></tr> <tr><td>&nbsp;</td></tr> <tr><td>
 <table width="100%" border="0" cellspacing="0" cellpadding="3">
 <tr><td>
	<table width="100%" border="0" cellspacing="0" cellpadding="0">
		<tr> 
			<td height="15" colspan="2" align="center" style="color:#000000;font-size:12px;">
				<font color="#000000"><strong> WEBSITE CATEGORY  MANAGEMENT </strong></font>
			</td>
 		</tr>
		<tr>
 			<td height="15" colspan="2" align="left" style="color:#000000;font-size:12px;"
>				<font color="#000000"><font  face="Times New Roman" size="2">
					<strong>
						<a href="category_mgt.php?action=create"> Create Category </a>
					</strong>
				</font>
			</td> 
		</tr>	
		<tr style="display:" id="editWin">
		
			<td colspan='2' id="ShowMsg">
			</td>
		</tr>
		<?php 
		if((isset($_GET['blk']) && $_GET['blk']==1) || (isset($_GET['dlt']) && $_GET['dlt']==1) || (isset($_GET['inst']) && $_GET['inst']==1) || (isset($_GET['updt']) && $_GET['updt']==1) )
		{
		?>
		<tr>
		
			<td colspan='2' style="color:#FF0000">
			<?php 
			if(isset($_GET['blk']) && $_GET['blk']==1)
			{
			echo $msg1="Value Blocked/Unblocked Successfully!!!";
			}
			if(isset($_GET['dlt']) && $_GET['dlt']==1)
			{
			echo $msg1="Value Deleted Successfully!!!";
			}
			if(isset($_GET['inst']) && $_GET['inst']==1)
			{
			echo $msg1="Value insert Successfully!!!";
			}
			if(isset($_GET['updt']) && $_GET['updt']==1)
			{
			echo $msg1="Value UPDATE Successfully!!!";
			}
			?></td>
		</tr>
		<?php
		}
		?>
	</table>
</td></tr>
<tr><td>

  <table width="100%" border="0" cellspacing="0" cellpadding="3" class="tabbod">
  <?php
	if(isset($_REQUEST['action']))
	{
	$editquery=mysql_query("SELECT * FROM ".CATEGORIES." WHERE adcategoryId='".$_REQUEST['adcategoryId']."'");
	$fetch=mysql_fetch_array($editquery);
	?>
	<tr>
		<td colspan="6" id="edit_section" style="display:;">
			<fieldset>
			<legend class="LEGEND"> <?php echo ucfirst($_REQUEST['action']);?>Category </legend>
			<form name="edit" action="" method="POST" onSubmit="return check();" >
			<table width="100%" border="0" align="center" cellpadding="5" cellspacing="0">
				<?php if($fetch['langId']=='1')
					{?>
				<tr>
					<td width="17%" align="left" id="admin_text">CategoryName</td>
					<td width="2%" align="left">::</td>
					<td width="81%" align="left"><input type="text" name="engname" value="<?php echo $fetch['categoryName'];?>">&nbsp;(For English)</td>
				</tr>
				<?php } ?>
 				<?php if($fetch['langId']=='2')
					{?>
				<tr>
					<td width="17%" align="left" id="admin_text">CategoryName</td>
					<td width="2%" align="left">::</td>
					<td width="81%" align="left"><input type="text" name="japname" value="<?php echo $fetch['categoryName'];?>">&nbsp;(For Japanese)</td>
				</tr>
				<?php } ?>
				<tr>
					<td width="27%" align="left" id="admin_text">Status</td>
					<td width="10%" align="left">::</td>
					<td width="63%" align="left">Active
					<input type="radio" name="status" <?php if($fetch['status']=='Y'){?> checked="checked" <?php } ?> value="Y" >
					&nbsp;&nbsp;Inactive
					<input type="radio" name="status" <?php if($fetch['status']=='N'){?> checked="checked" <?php } ?> value="N" >        </td>
				</tr> 
				<tr>
					<td align="center">&nbsp;</td>
					<td align="center">&nbsp;</td>
					<td align="left"><input type="submit" name="submit1" value="<?php if($_REQUEST['action']=='create'){echo insert;}else echo UPDATE;?>" />
					&nbsp;
					<input type="button" value="Close" name="close_frm" id="close_frm" onClick="document.getElementById('edit_section').style.display = 'none';" /></td>
				</tr>
			</table>
			</form>
			</fieldset>
		<?php } ?>
		</td>
	</tr>
	<form name="FieldSearch" id="FieldSearch" method="POST">
	<tr>
		<td height="40" colspan="2" align="left" valign="middle"><strong>For English Language</strong></td>
		<td colspan="3" align="center">Search By Category Name In English Language&nbsp;		<input type="text" name="cscheng" value="<?php echo $_REQUEST['cscheng']; ?>">&nbsp;&nbsp;&nbsp;		<input type="submit" name="catsearch" value="Search"></td>
		<td ><a href="category_mgt.php" style="color:#000000;font-size:12px;">View All</a> </td>
	</tr>
	</form>
    <?php

if($parameng=='parameng=eng' || $parameng=="eng")
{
	$parameng.=$paramjap1;
	#$parameng.="&pagejap=".$pagejap;	//echo $parameng.="&pagejap=".$pagejap."&loopjap=".$loopjap."&startjap=".$startjap.'<br><br>';
if(isset($_REQUEST['cscheng']) && $_REQUEST['cscheng']!="")
	{
		$search="SELECT * FROM ".CATEGORIES."  WHERE categoryName like '%".$_REQUEST['cscheng']."%' and langId='1' ORDER BY adcategoryId  DESC";
		$parameng.=$searchString;	}
	else
	{
	$search="SELECT * FROM ".CATEGORIES."  WHERE 1 and langId='1' ORDER BY adcategoryId  DESC";
	}

	$search=$search." limit $pageeng,$limit";

	$searchquery=mysql_query($search) or die('error1'.mysql_error());

  if(mysql_num_rows($searchquery)>0)
  {
	
  ?><form name="form_admin_management" action="" method="post">
    <tr bgcolor="#6F8DBC">
      <td width="7%" height="28" style="color:#ffffff;font-size:12px;" align="center"><strong>S.No</strong></td>
	  <td width="8%" align="center" valign="middle" style="color:#ffffff;font-size:12px;">&nbsp;</td>
	  <td width="48%" valign="middle" style="color:#ffffff;font-size:12px;"><strong>Category  Name </strong></td>
	  <td width="8%" align="center" valign="middle" style="color:#ffffff;font-size:12px;"><strong>Edit</strong></td>
      <!--      <td width="13%" align="center" style="color:#ffffff;font-size:12px;"><strong>Edit</strong></td>-->
      <td width="11%" align="center" valign="middle" style="color:#ffffff;font-size:12px;"><strong>Block</strong></td>
      <td width="18%" align="center" valign="middle" style="color:#ffffff;font-size:12px;"><strong>Delete</strong></td>
      </tr>
    <?php 
  $count=0;
  $no=1;
  $loop=0;
  while($searcharray=mysql_fetch_array($searchquery))
  {
  $loop++;
		if($loop == 1)
		 $bgcolor = "#F0F0FF";
		else 
		$bgcolor = "#CCCCFF";	
	if(isset($_GET['pageeng']))	
	{	
		$pageNUmbering=$_GET['pageeng'];	
	}
		else
		{	
		$pageNUmbering=$_GET['page'];
		}
?>
    <tr bgcolor="<?php echo $bgcolor; ?>">
      <td height="32" style="color:#000000;font-size:12px;" align="center"><strong><?php echo $no+$pageNUmbering;//echo $searcharray['usercode']; ?></strong></td>
      <td align="center" valign="middle" style="color:#000000;font-size:12px;">&nbsp;</td>
      <td align="left" valign="middle" style="color:#000000;font-size:12px;"><?php echo ($searcharray['categoryName']); ?></td>
      <td align="center" valign="middle"><a href="category_mgt.php?action=edit&adcategoryId=<?php echo $searcharray['adcategoryId'];?>" ><img src="images/edit_icon.gif" border="0"/></a></td>
      <td align="center" valign="middle"><input type="checkbox" name="block<?php echo $count; ?>" value="<?php echo $searcharray['adcategoryId']; ?>" <?php if($searcharray['status']=='N') echo "checked";?>>
          <input type="hidden" name="block_hid<?php echo $count; ?>" value="<?php echo $searcharray['adcategoryId'];?>">      </td>
      <td align="center" valign="middle"><input type="checkbox" name="del[]" value="<?php echo $searcharray['adcategoryId'];?>"></td>
      </tr>
    <?php 
  $count++;
  $sno++;
 		 if($loop == 2)
			{
			$loop = 0;
			}	
 }
		  
 ?>
    <tr>
      <td colspan="4">&nbsp;</td>
      <td colspan="4" align="right"><input type="hidden" name="count_UPDATE" value="<?php echo $count; ?>">
          <input type="submit" name="Submit" value="Update"></td>
    </tr>
    <tr>
      <td colspan="8" align="center" style="color:#FF0000"><?php echo paging($search,$pageeng,$limit,'',$parameng,'',$loopeng,$starteng,2); ?></td>
    </tr>
<?php

}

else

{

?>
	<tr bgcolor="#6F8DBC">
		<td width="7%" style="color:#ffffff;font-size:12px;"><strong>S.No</strong></td>
		<td width="8%" align="center" style="color:#ffffff;font-size:12px;">&nbsp;</td>
		<td style="color:#ffffff;font-size:12px;"><strong>Category  Name </strong></td>
		<td width="8%" align="center" style="color:#ffffff;font-size:12px;"><strong>Edit</strong></td>
		<td width="11%" align="center" style="color:#ffffff;font-size:12px;"><strong>Block</strong></td>
		<td align="center" style="color:#ffffff;font-size:12px;"><strong>Delete</strong></td>
	</tr>
	<tr>
		<td colspan="9" align="left">&nbsp;&nbsp;&nbsp;<strong><font color="#FF0000" class="DISPLAYMESSAGES">No Result Found!</font></strong></td>
	</tr>
    <?php

  }
}
  ?></form>
  </table>
  </td></tr>
	<tr>
		<td colspan="9" style="border-top:#6F8DBC 1px solid;">&nbsp;</td>
	</tr>
 <tr><td>
	<table width="100%" border="0" cellspacing="0" cellpadding="0">
	
		<tr style="display:" id="editWin">
		
			<td colspan='2' id="ShowMsg">
			</td>
		</tr>
		
	</table>
</td></tr>
<tr><td>

  <table width="100%" border="0" cellspacing="0" cellpadding="3" class="tabbod">

	<form name="FieldSearch_japan" id="FieldSearch_japan" method="POST">
	<tr>
		<td height="40" colspan="2" align="left" valign="middle"><strong>For Japanese Language</strong></td>
		<td colspan="3" align="center">Search By Category Name In Japanese Language &nbsp;		<input type="text" name="cschjap" value="<?php echo $_REQUEST['cschjap'];?>">&nbsp;&nbsp;&nbsp;		<input type="submit" name="catsearch" value="Search"></td>
		<td ><a href="category_mgt.php" style="color:#000000;font-size:12px;">View All</a> </td>
	</tr>
	</form>
    <?php

if($paramjap=='paramjap=jap' || $paramjap=='jap')
{	$paramjap.=$parameng1;
	//echo $paramjap="&pageeng=".$pageeng."&loopeng=".$loopeng."&starteng=".$starteng;	
/*echo '<script>alert("japan");</script>';*/
if(isset($_REQUEST['cschjap']) && $_REQUEST['cschjap']!="")
	{
		$search_jap="SELECT * FROM ".CATEGORIES."  WHERE categoryName like '%".$_REQUEST['cschjap']."%' and langId='2' ORDER BY adcategoryId  DESC";
		$paramjap.=$searchString;	}
	else
	{
	$search_jap="SELECT * FROM ".CATEGORIES."  WHERE 1 and langId='2' ORDER BY adcategoryId  DESC";
	}

	$search_jap=$search_jap." limit $pagejap,$limit";
//echo 'search_jap====<br>'.$search_jap.'<br>';
	$searchquery_jap=mysql_query($search_jap) or die('error1'.mysql_error());	
  if(mysql_num_rows($searchquery_jap)>0)
  {

  ?><form name="form_admin_management_japan" action="" method="post">
    <tr bgcolor="#6F8DBC">
      <td width="7%" height="28" style="color:#ffffff;font-size:12px;" align="center"><strong>S.No</strong></td>
	  <td width="8%" align="center" valign="middle" style="color:#ffffff;font-size:12px;">&nbsp;</td>
	  <td width="48%" valign="middle" style="color:#ffffff;font-size:12px;"><strong>Category  Name </strong></td>
	  <td width="8%" align="center" valign="middle" style="color:#ffffff;font-size:12px;"><strong>Edit</strong></td>
      <!--      <td width="13%" align="center" style="color:#ffffff;font-size:12px;"><strong>Edit</strong></td>-->
      <td width="11%" align="center" valign="middle" style="color:#ffffff;font-size:12px;"><strong>Block</strong></td>
      <td width="18%" align="center" valign="middle" style="color:#ffffff;font-size:12px;"><strong>Delete</strong></td>
      </tr>
    <?php 
  $sno=1;
  $loop=0;
  while($searcharray_jap=mysql_fetch_array($searchquery_jap))
  {
  $loop++;
		if($loop == 1)
		 $bgcolor = "#F0F0FF";
		else 
		$bgcolor = "#CCCCFF";		if(isset($_GET['pagejap']))		{			$pageNUmberingjap=$_GET['pagejap'];		}		else		{			$pageNUmberingjap=$_GET['page'];		}
?>
    <tr bgcolor="<?php echo $bgcolor; ?>">
      <td height="32" style="color:#000000;font-size:12px;" align="center"><strong><?php echo $sno+$pageNUmberingjap;//echo $searcharray['usercode']; ?></strong></td>
      <td align="center" valign="middle" style="color:#000000;font-size:12px;">&nbsp;</td>
      <td align="left" valign="middle" style="color:#000000;font-size:12px;"><?php echo ($searcharray_jap['categoryName']); ?></td>
      <td align="center" valign="middle"><a href="category_mgt.php?action=edit_jap&adcategoryId=<?php echo $searcharray_jap['adcategoryId'];?>" ><img src="images/edit_icon.gif" border="0"/></a></td>
      <td align="center" valign="middle"><input type="checkbox" name="block_jap<?php echo $count_jap; ?>" value="<?php echo $searcharray_jap['adcategoryId']; ?>" <?php if($searcharray_jap['status']=='N') echo "checked";?>>
          <input type="hidden" name="block_hid_jap<?php echo $count_jap; ?>" value="<?php echo $searcharray_jap['adcategoryId'];?>">      </td>
      <td align="center" valign="middle"><input type="checkbox" name="del_jap[]" value="<?php echo $searcharray_jap['adcategoryId'];?>"></td>
      </tr>
    <?php 
  $count_jap++;
  $sno++;
 		 if($loop == 2)
		{
			$loop = 0;
		}	
 }
		   ?>
    <tr>
      <td colspan="4">&nbsp;</td>
      <td colspan="4" align="right"><input type="hidden" name="count_UPDATE_jap" value="<?php echo $count_jap; ?>">
          <input type="submit" name="Subjap" value="Update"></td>
    </tr>
    <tr>
      <td colspan="8" align="center" style="color:#FF0000"><?php echo paging($search_jap,$pagejap,$limit,'',$paramjap,'',$loopjap,$startjap,2); ?></td>
    </tr>
    <?php

}

else

{

?>
	<tr bgcolor="#6F8DBC">
		<td width="7%" style="color:#ffffff;font-size:12px;"><strong>S.No</strong></td>
		<td width="8%" align="center" style="color:#ffffff;font-size:12px;">&nbsp;</td>
		<td style="color:#ffffff;font-size:12px;"><strong>Category  Name </strong></td>
		<td width="8%" align="center" style="color:#ffffff;font-size:12px;"><strong>Edit</strong></td>
		<td width="11%" align="center" style="color:#ffffff;font-size:12px;"><strong>Block</strong></td>
		<td align="center" style="color:#ffffff;font-size:12px;"><strong>Delete</strong></td>
	</tr>
	<tr>
		<td colspan="9" align="left">&nbsp;&nbsp;&nbsp;<strong><font color="#FF0000" class="DISPLAYMESSAGES">No Result Found!</font></strong></td>
	</tr>
    <?php

  }
}
  ?></form>
  </table>
  </td></tr>
</table>
<!--</fieldset>--></td></tr></table>
<?php 

include("foot.php");?>